package com.flame.workflow.ru.engine.context;

import com.flame.auth.core.entity.TrustedPrincipal;
import com.flame.workflow.re.entity.Node;
import com.flame.workflow.ru.entity.Instance;
import com.flame.workflow.ru.entity.Task;

/**
 *
 *
 * @author wuxintong😺😺😺
 * @since 2023/6/8
 */
public class RuntimeContext {

    private Instance instance;

    private Task task;

    private Node node;

    private TrustedPrincipal trustedPrincipal;

    public Instance getInstance() {
        return instance;
    }

    public void setInstance(Instance instance) {
        this.instance = instance;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public Node getNode() {
        return node;
    }

    public void setNode(Node node) {
        this.node = node;
    }

    public TrustedPrincipal getTrustedPrincipal() {
        return trustedPrincipal;
    }

    public void setTrustedPrincipal(TrustedPrincipal trustedPrincipal) {
        this.trustedPrincipal = trustedPrincipal;
    }
}
